package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.BCompany;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.vo.BCompanyVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
* @author yangxingze
* @description 针对表【b_company(药企表)】的数据库操作Mapper
* @createDate 2024-12-28 00:45:04
* @Entity com.ruoyi.system.domain.BCompany
*/
public interface BCompanyMapper extends BaseMapper<BCompany> {

    /**
     * 根据条件查询药企列表
     * @param company
     * @return
     */
    List<BCompanyVo> selectCompanyList(@Param("query") BCompany company);

    /**
     * 根据id查询药企
     * @param id
     * @return
     */
    BCompanyVo selectCompanyById(@Param("companyId") Long id);

    /**
     * 根据id删除模型
     * @param companyIds
     * @return
     */
    int deleteCompanyByIds(Long[] companyIds);
}




